<div class="page_right">
    
	<div class="cover_right" style="margin:0px;">
		<div class="topic"> Hỗ trợ trực tuyến </div>
		<div class="content">
			<p style="text-align:center;margin:10px 0px;">
				<a href="ymsgr:sendim?nhvinh2004" mce_href="ymsgr:sendim?nhvinh2004" border="0"><img src="http://opi.yahoo.com/online?u=nhvinh2004&t=2" mce_src="http://opi.yahoo.com/online?u=nhvinh2004&t=2"></a>
				
				<a href="ymsgr:sendim?thoailatoin" mce_href="ymsgr:sendim?thoailatoin" border="0"><img src="http://opi.yahoo.com/online?u=thoailatoin&t=2" mce_src="http://opi.yahoo.com/online?u=thoailatoin&t=2"></a>
			</p>
			<p style="color:red; font-size:16px; font-weight:bold; text-align:center;"> HOT LINE: 0903 721 041. </p>
		</div>
	</div>
	
	<div class="cover_right">
		<div class="topic"> Các khóa học của trung tâm </div>
		<div class="content">
		<?php
            $query1 = mysql_query(" SELECT id,name,date_begin,date_end FROM course WHERE name != '' ");
            if(mysql_num_rows($query1) > 0)
            {
                while($row1 = mysql_fetch_array($query1))
                {
                    echo "
                        <div style='padding:4px 0px 3px 7px;'>
                            <p style='font-weight:bold; color:#00f;'> <img src='img/pic/star.gif' /> ".$row1['name']." <img src='img/pic/new1.gif' /> </p>
                            <p> Học từ ngày ".date("d-m-Y",strtotime($row1['date_begin']))." đến ngày ".date("d-m-Y",strtotime($row1['date_end']))." </p>
                        </div>
                    ";
                }
            }
        ?>
		</div>
	</div>
	
    <div class="cover_right">
		<div class="topic"> Tin tức </div>
		<div class="content" style="padding:5px 0px 10px 0px;">
        	<?php
				$query2 = mysql_query("SELECT id,name,url FROM new_link WHERE name != '' ORDER BY date DESC LIMIT 0,5");
				while($row2 = mysql_fetch_array($query2))
				{
					echo "<p style='padding:3px 0px;'><a href='".$row2['url']."' target='_blank'> <img src='img/pic/star.gif' /> ".$row2['name']." <img src='img/pic/iconNews.gif' /> </a> </p>";
				}
			?>
		</div>
	</div>
    
    <?php
		$query = mysql_query(" SELECT id,content,url FROM banner WHERE content != '' ORDER BY date DESC ");
		if(mysql_num_rows($query) > 0)
		{
	?>
    
    <div class="cover_right">
		<div class="content">
		<?php
			while($row = mysql_fetch_array($query))
			{
				echo "<a href='".$row['url']."' target='_blank'> <img src='img/upload/banner/".$row['content']."' width='295px' height='150px;' /> </a>";	
			}
		?>
		</div>
	</div>
    
    <?php } ?>
    
    <div class="cover_right">
		<div class="topic"> Quà tặng cuộc sống </div>
		<div class="content">
			<iframe width="293" height="315" src="//www.youtube.com/embed/5Jd_HIQTegA" frameborder="0" allowfullscreen></iframe>
		</div>
	</div>
    
    <div class="cover_right">
    	<div class="topic"> Facebook </div>
		<div class="content">
			<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FTrungTamLuyenThiDaiHoc73HungVuongCanTho&amp;width=292&amp;height=258&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;show_border=true&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:258px;" allowTransparency="true"></iframe>
		</div>
	</div>
    
	<div class="cover_right">
		<div class="topic"> Lịch </div>
		<div class="content">
			<div id="calendar" style="width:291px;"></div>
		</div>
	</div>
	
	<div class="cover_right">
		<div class="topic"> Thống kê truy cập </div>
		<div class="content">
        	<?php
				include("view/counter.php");
			?>
		</div>
	</div>

</div>